package com.hmall.gateway.filter;/**
 * @author wl
 * @version 1.0
 * @since 2025-09-06 8:39
 */

import org.springframework.cloud.gateway.filter.GatewayFilterChain;
import org.springframework.cloud.gateway.filter.GlobalFilter;
import org.springframework.web.server.ServerWebExchange;
import reactor.core.publisher.Mono;

/**
 *des:
 *data Created in 2025-09-06 08-39
 */
//@Component
//@Slf4j
//@Order(0)
public class FirstGlobleFilter implements GlobalFilter {
    @Override
    public Mono<Void> filter(ServerWebExchange exchange, GatewayFilterChain chain) {
        //log.info("自定义过滤器");
        //放行
        return chain.filter(exchange);


    }


}
